package com.campusbackend.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDate;

/**
 * 项目经历更新VO
 */
@Data
@Schema(name = "ProjectUpdateVO", description = "项目经历更新VO")
public class ProjectUpdateVO {
    
    @Schema(description = "项目经历ID")
    @NotNull(message = "项目经历ID不能为空")
    private Long id;
    
    @Schema(description = "项目名称")
    @NotBlank(message = "项目名称不能为空")
    private String projectName;
    
    @Schema(description = "项目角色")
    private String projectRole;
    
    @Schema(description = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate startTime;
    
    @Schema(description = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate endTime;
    
    @Schema(description = "项目描述")
    private String projectDescription;
    
    @Schema(description = "使用技术")
    private String technologiesUsed;
    
    @Schema(description = "项目链接")
    private String projectUrl;
} 